//
//  LFZLayoutButton.m
//  LFZCustomView
//
//  Created by boniu on 2022/5/27.
//

#import "LFZLayoutButton.h"

@implementation LFZLayoutButton

- (UIImageView *)iconImage {
    
    if (!_iconImage) {
        _iconImage = [[UIImageView alloc] init];
        [self addSubview:_iconImage];
    }
    return _iconImage;
}

- (UILabel *)nameLabel {
    
    if (!_nameLabel) {
        _nameLabel = [[UILabel alloc] init];
        [self addSubview:_nameLabel];
    }
    return _nameLabel;
}

@end
